package com.wd.mqtt;

public class MqttConfig {
    private String address;

    private String user;

    private String password;

    private String clientName;

    private int qos = 0;

    public int getQos() {
        return qos;
    }

    public void setQos(int qos) {
        this.qos = qos;
    }

    private int clientNum;

    public MqttConfig() {
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getClientNum() {
        return clientNum;
    }

    public void setClientNum(int clientNum) {
        this.clientNum = clientNum;
    }

    public MqttConfig(String address, String user, String password, int clientNum) {
        this.address = address;
        this.user = user;
        this.password = password;
        this.clientNum = clientNum;
    }
}
